.section .startup
.code 32
.align 0
 
.global _start
.extern __vector_reset
.extern __vector_undefined
.extern __vector_swi
.extern __vector_prefetch_abort
.extern __vector_data_abort
.extern __vector_reserved
.extern __vector_irq
.extern __vector_fiq
 
@程序入口地址_start
_start:
	ldr pc,_vector_reset			@pc = __vector_reset,处理复位异常
	ldr pc,_vector_undefined		@处理未定义异常
	ldr pc,_vector_swi				@处理软件中断异常
	ldr pc,_vector_prefetch_abort	@处理预取址中止异常
	ldr pc,_vector_data_abort		@处理数据中止异常
	ldr pc,_vector_reserved			@处理保留异常
	ldr pc,_vector_irq				@处理中断异常
	ldr pc,_vector_fiq				@处理快速中断异常
 
	.align 4
 
_vector_reset:			.word  __vector_reset
_vector_undefined:		.word  __vector_undefined
_vector_swi:			.word  __vector_swi
_vector_prefetch_abort:	.word  __vector_prefetch_abort
_vector_data_abort:		.word  __vector_data_abort
_vector_reserved:		.word  __vector_reserved
_vector_irq:			.word  __vector_irq
_vector_fiq:			.word  __vector_fiq